package JavaSEAdvance.day01_extends.d012_extends;

/**
 * @author Xiao
 * @date 2021/7/15
 */
public class EmployeeTest {
    public static void main(String[] args) {
        Programmer p = new Programmer("阿良",24,15000);
        ProjectManager pm = new ProjectManager("左右",30,20000,2000);
        System.out.println(p.toString());
        p.touchFish();
        p.working();
        System.out.println("----------------");
        System.out.println(pm.toString());
        pm.working();
        /*System.out.println("--------");
        System.out.println("1" +
        "2"+
        "," +
                "...");*/
    }
}
